package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class ExamEntity implements Serializable {

    private Integer examId;//考试id

    private Integer schoolCode;//学校id

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date examTime;//考试时间

    private String examName;//考试名称

    private String userId;//教师id

    private String tableName;//表名称

    private Integer isfinish;//是否完成

    private Integer isanalyze;//是否分析

    private Integer type;//1 任课老师自有  2 年级统一  3全校统一

    private Integer examType;//1 单元考试 2期中考试 3月考  4期末考试

    private List<Integer> classIds;

    private List<Integer> courseIds;

    private Integer gradeId;

}
